package com.a;

import java.util.Scanner;

public class d {
    public static void main(String[] args) {
        //需求：判断一个数是奇数还是偶数

        while(true)
        {
            Scanner a=new Scanner(System.in);
            System.out.println("请输入您想要查询的数");

            int b=a.nextInt();
            jiou( b);
            System.out.println("+++++++++++++++++++++");
        }

    }
    public static void jiou(int b)

    {
        if((b%2==0)&&(b!=0))

           System.out.println("输入的数为偶数！");

        else if(b%2!=0)

            System.out.println("输入的数为奇数！");

        else
            System.out.println("输入的数为斐济菲欧！");


    }
}
